|
![](/i/fill.gif) |
On Mon, 17 Sep 2001 02:55:54 -0400, "Mark Wagner"
<mar### [at] gte net> wrote:
>If I understand you correctly, you want a data container that, when you add
>something the first time, accepts it. If you add it a second time, it gets
>deleted instead, and if you add it more times, it doesn't get added? If
>this is correct, the easiest way to do this is to add a "deleted" flag to
>each object when you add it. When you remove the object, it doesn't
>actually get deleted, but instead gets marked as being deleted, so you can
>see if it has already been added later.
Maybe I can use a set of objects and a separate set of deleted objects
(or rather, their IDs), as an alternative. How does that look,
programming-wise?
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vip bg
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
![](/i/fill.gif) |